package com.zzl.finance.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author gull
 * @date 2021-11-09 20:04:58
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class LegalUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "主键", example = "")
    private Integer legalId;
    @ApidocModelProperty(description = "法人证件类型", example = "")
    private String legalCertificateType;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "证件有效期", validate = "yyyy-MM-dd HH:mm:ss")
    private Date legalCertificateExpireTime;
    @ApidocModelProperty(description = "法人证件", example = "")
    private String legalIdentification;
    @ApidocModelProperty(description = "身份证正面", example = "")
    private String frontIdentityCard;
    @ApidocModelProperty(description = "身份证反面", example = "")
    private String backIdentityCard;
    @ApidocModelProperty(description = "姓名", example = "")
    private String legalUserName;
    @ApidocModelProperty(description = "手机号", example = "")
    private String legalPhone;
    @ApidocModelProperty(description = "1 表示删除，0 表示未删除", example = "")
    private Integer deletedStatus;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
    @ApidocModelProperty(description = "创建人id", example = "")
    private Integer createUserId;
    @ApidocModelProperty(description = "修改人id", example = "")
    private Integer updateUserId;

}
